package com.lanqiao.companymanage.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lanqiao.companymanage.entity.AssetInformation;
import com.lanqiao.companymanage.mapper.AssetMessMapper;
import com.lanqiao.companymanage.service.CompanyAssetsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 何小棍
 * 公司资产查询
 */
@Service
public class CompanyAssetsServiceImpl implements CompanyAssetsService {

    @Autowired
    AssetMessMapper assetMessDao;

    /**
     * 公司资产分页查询
     * @param assetMessPage
     * @return
     */
    @Override
    public Page<AssetInformation> getCompanyAssetsPage(Page<AssetInformation> assetMessPage) {
        return assetMessDao.selectPageAssetMess(assetMessPage);
    }
}
